import { http } from "./request";

export default {
  InstrumentPagedList(data: any) {
    //实验仪器百科列表
    return http.request({
      url: "/api/Instrument/PagedList",
      method: "post",
      data: data,
    });
  },

  InstrumentCategoryOptions(data: any) {
    //实验仪器百科分类
    return http.request({
      url: "/api/InstrumentCategory/Options",
      method: "post",
      data: data,
    });
  },
  
  InstrumentListByClickCount(data: any) {
    //实验仪器百科按点击量排名前几
    return http.request({
      url: "/api/Instrument/InstrumentListByClickCount",
      method: "post",
      data: data,
    });
  },
 
  
//   虚拟实验
  ExperimentCategoryOptions(data: any) {
    //实验分类
    return http.request({
      url: "/api/ExperimentCategory/Options",
      method: "post",
      data: data,
    });
  },
  ExperimentPagedList(data: any) {
    //虚拟实验列表
    return http.request({
      url: "/api/Experiment/PagedList",
      method: "post",
      data: data,
    });
  },
  InstrumentInstrumentClicked(data: any) {
    //实验类型列表
    return http.request({
      url: '/api/Instrument/InstrumentClicked',
      method: 'post',
      data: data,
    })
  },
  //按点击量排名 前5
   ExperimentListByClickCount(data: any) {
    //虚拟实验列表
    return http.request({
      url: "/api/Experiment/ExperimentListByClickCount",
      method: "post",
      data: data,
    });
  },
  
};
